<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
        />
        <meta name="apple-mobile-web-app-title" content="Modown">
        <meta http-equiv="Cache-Control" content="no-siteapp">
        <title>{$c['name']} - {:cms('title')}</title>
        <meta name="keywords" content="{$c['keywords']}">
        <meta name="description" content="{$c['description']}">
        {include file="app/template/pc/default_pc/header.html"}
        <article style="position: relative;">
            <div class="blogs left-box">
                <div class="whitebg lanmu">
                    <img src="{$c.pic} " onerror="this.src='*ADMIN*/img/pic.jpg';" height="88">
                    <h1>
                        <a>
                            {$c['name']}
                        </a>
                    </h1>
                    <p>
                        {switch name="$c['description']" }
                        {case value=""}作者太懒了,都不弄点介绍{/case}
                        {default /}{$c['description']}
                        {/switch}
                    </p>
                </div>
                <div class="clear blank">
                </div>
                <div class="blogs-box whitebg">
                    <div class="news-title">
                        <span class="hnav">
                            <a href="*URL*/m_{:fun_sc_p('cate', array('id'=>$c['tid']), 'alias')}.html">
                                {:fun_sc_p('cate', array('id'=>$c['tid']), 'name')}
                            </a>
                        	{volist name=":fun_s('cate',array('open'=>1,'tid'=>fun_sc_p('cate', array('id'=>$c['tid']), 'id')),'px desc',100,1)" id="vo"}
                            <a href="*URL*/m_{$vo.alias}.html" {if condition="$vo.id eq $c['id']"}style="color: #1487f4;"{/if}>
                                {$vo.name}
                            </a>
                            {/volist}
                        </span>
                        <h2>
                            {$c['name']}
                        </h2>
                    </div>
                    <div class="blogs-list">
                        <ul>
                        	{volist name=":fun_sd(m($c['model']),array('f.open'=>1),$c['id'],'times desc','15,false',0)" id="vo" empty="<div align='center' style='padding: 100px 0px 100px 0px;'>暂时没有数据</div>"}
                            <li>
                            	{volist name=":getImgList($vo.content)" id="vj" length="1"}
                                <i>
                                    <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html">
                                        <img src="{$vj}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                                    </a>
                                </i>
                                {/volist}
                                <h2>
                                	{if condition="$vo['view'] gt cmspc('cms10')"}
                                    <em>
                                        热
                                    </em>
                                    {/if}
                                    <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" target="_blank">
                                        {$vo.title}
                                    </a>
                                </h2>
                                <p>
                                    {empty name="$vo.description"}{:htmltext(cut($vo['content'],100))}{else /}{$vo.description}{/empty}
                                </p>
                                <span>
                                	{volist name=":exps($vo.keywords)" id="v"}
                                	{notempty name="$v"}
                                    <a href="{if condition="config('web.WEIJINGTAI')==0"}/index.php?s={/if}/tag_{:m($c['model'])}_{$v}" target="_blank">
                                        {$v}
                                    </a>
                                    {/notempty}
                                    {/volist}
                                </span>
                            </li>
                           {/volist} 
                            
                        </ul>
                    </div>
                    <div class="pagination">
                        {:fun_sd(m($c['model']),array('f.open'=>1),$c['id'],'settop desc , times desc','15,false',0)->render()}
                    </div>
                </div>
            </div>
            <aside class="side-section right-box" style="position: static; left: auto; width: 320px;">
                <div class="whitebg tuijian">
                    <h2 class="side-title">
                        置顶推荐
                    </h2>
                    {volist name=":fun_sd(m($c['model']),array('f.open'=>1,'f.settop'=>1),$c['id'],'times desc','1',1)" id="vo" empty="<div align='center' style='padding: 100px 0px 100px 0px;'>暂时没有数据</div>"}
                    <section class="topnews imgscale">
                        <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" target="_blank">
                            <img src="{$vo.pic} " alt="{$vo.title}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                            <span>
                                {$vo.title}
                            </span>
                        </a>
                    </section>
                    {/volist} 
                    <ul>
                    	{volist name=":fun_sd(m($c['model']),array('f.open'=>1,'f.settop'=>1,'f.settop'=>1),$c['id'],'times desc','9',1)" id="vo" offset="1"}
                        <li>
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" target="_blank">
                                <i>
                                    <img src="{$vo.pic} " alt="{$vo.title}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                                </i>
                                <p>
                                    {$vo.title}
                                </p>
                            </a>
                        </li>
                        {/volist} 
                    </ul>
                </div>
                <div class="blank clear">
                </div>
                <div class="whitebg paihang">
                    <h2 class="side-title">
                        点击排行
                    </h2>
                    {volist name=":fun_sd(m($c['model']),array('f.open'=>1),$c['id'],'view desc','1',1)" id="vo"}
                    <section class="topnews imgscale">
                        <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" target="_blank">
                             <img src="{$vo.pic} " alt="{$vo.title}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                            <span>
                                {$vo.title} 
                            </span>
                        </a>
                    </section>
                     {/volist}
                    <ul>
                    	{volist name=":fun_sd(m($c['model']),array('f.open'=>1),$c['id'],'view desc','9',1)" id="vo" offset="1" empty="<div align='center' style='padding: 100px 0px 100px 0px;'>暂时没有数据</div>"}
                        <li>
                            <i></i>
                            <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" title="{$vo.title}" target="_blank">
                                {$vo.title} 
                            </a>
                        </li>
                        {/volist}
                    </ul>	
                </div>
                <div class="blank clear">
                </div>
                <div class="whitebg suiji">
                    <h2 class="side-title">
                        猜你喜欢
                    </h2>
                    <ul>
                    	{volist name=":fun_sj_id(m($c['model']),array('f.open'=>1,'f.model'=>$c['model']),$c.id,10)" id="vo" empty="<div align='center' style='padding: 100px 0px 100px 0px;'>暂时没有数据</div>"}
                        <li>
                            <a target="_blank" href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html">
                                {$vo.title} 
                            </a>
                        </li>
                        {/volist}
                    </ul>
                </div>
            </aside>
        </article>
        <div class="clear blank">
        </div>
        <!--系统预留插件钩子请保留列表模型-->
        {:h('listpc')}
        {include file="app/template/pc/default_pc/footer.html"}